<div style="margin-top: 0px;">   
    <div class="table_browse_header"><b>Search Logs</b><br></div>
    <!-- <%= render :partial => 'search_form_search_log' %> -->
    <div class="table_browse_content"><table width="100%">
	<tbody>
	    <tr>
		<th class="table_browse_field_header">Search Query</th>
		<th class="table_browse_field_header"># Searches</th>
	    </tr>
	    <% if @search_logs.empty? %>
    	    <tr>
		<td class="table_browse_rows_2" align="center" colspan = 2>There are no search logs</td>
	    </tr>
	    <% else
		for log in @search_logs %>
	    <tr>
		<td class="table_browse_rows_2" align="center"><%= log.keyword %></td>
		<td class="table_browse_rows_2" align="center"><%= log.times %></td>
	    </tr>
	    <%	end 
	       end%>
	</tbody>
    </table><br>
    <div class="table_browse_controls"><center>&nbsp;&nbsp;&nbsp; <%= @search_logs.length*@search_log_pages.length %> logs found. &nbsp;&nbsp;
    <% if @search_log_pages.length > 1 %>
	Pages: <%= pagination_links(@search_log_pages)%>
    <%end%>&nbsp;&nbsp;&nbsp;</center></div>
</div>